import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;

/**
 * Write a description of class Letrero here.
 * 
 * @author (Karen Gonzalez) 
 * @version (29/05/14)
 */
public class Letrero extends Actor
{
    /**Variables de instancia*/
    private String letrero;   
    
    /**Constructor de la clase letrero*/
    public Letrero(String le)
    {
        letrero=le;
        super.setImage(new GreenfootImage("" + letrero,50,Color.green, null));
    }

    /**imprime el letrero*/
    public void act()
    {
        super.setImage(new GreenfootImage("" + letrero,50,Color.green,null));
    }    
}
